package com.vvv.designpattern.pay.strategy.factory;

/**
 * @author vvv
 * @date 2023-11-23 15 25
 * discription 策略枚举类：主要用于封装具体的支付策略类，避免工厂类中直接调用具体的策略类
 */
public enum StrategyEnum {
    alipay("com.vvv.designpattern.pay.strategy.AlipayStrategy"),
    wechat("com.vvv.designpattern.pay.strategy.WechatStrategy");

    String value = "";

    StrategyEnum(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }
}
